package cn.hd01.repository.entity;

import java.math.BigDecimal;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

@Entity
@Table(name = "t_order")
public class KValueDetail {
	
	private String name;
	
	private BigDecimal localAmount = BigDecimal.ZERO;
	
	private BigDecimal recommAmount = BigDecimal.ZERO;;
	
	@Id
	private Integer distributorId;
	
	private BigDecimal localBalance = BigDecimal.ZERO;;
	
	private BigDecimal localUnbalance = BigDecimal.ZERO;;
	
	private BigDecimal recommBalance = BigDecimal.ZERO;;
	
	private BigDecimal recommUnbalance = BigDecimal.ZERO;;
	
	private BigDecimal kValue = BigDecimal.ZERO;;
	
	@Transient
	private String beginDate;
	
	@Transient
	private String endDate;
	
	@Transient
	private String nameSearch;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public BigDecimal getLocalAmount() {
		return localAmount;
	}

	public void setLocalAmount(BigDecimal localAmount) {
		this.localAmount = localAmount;
	}

	public BigDecimal getRecommAmount() {
		return recommAmount;
	}

	public void setRecommAmount(BigDecimal recommAmount) {
		this.recommAmount = recommAmount;
	}

	public Integer getDistributorId() {
		return distributorId;
	}

	public void setDistributorId(Integer distributorId) {
		this.distributorId = distributorId;
	}

	public BigDecimal getLocalBalance() {
		return localBalance;
	}

	public void setLocalBalance(BigDecimal localBalance) {
		this.localBalance = localBalance;
	}

	public BigDecimal getLocalUnbalance() {
		return localUnbalance;
	}

	public void setLocalUnbalance(BigDecimal localUnbalance) {
		this.localUnbalance = localUnbalance;
	}

	public BigDecimal getRecommBalance() {
		return recommBalance;
	}

	public void setRecommBalance(BigDecimal recommBalance) {
		this.recommBalance = recommBalance;
	}

	public BigDecimal getRecommUnbalance() {
		return recommUnbalance;
	}

	public void setRecommUnbalance(BigDecimal recommUnbalance) {
		this.recommUnbalance = recommUnbalance;
	}

	public BigDecimal getkValue() {
		return kValue;
	}

	public void setkValue(BigDecimal kValue) {
		this.kValue = kValue;
	}

	public String getBeginDate() {
		return beginDate;
	}

	public void setBeginDate(String beginDate) {
		this.beginDate = beginDate;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

	public String getNameSearch() {
		return nameSearch;
	}

	public void setNameSearch(String nameSearch) {
		this.nameSearch = nameSearch;
	}
}